home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / windows / macro351.zip / WIN95.MM_ / WIN95.MM
Text File  |  1997-02-26  |  7KB  |  13 lines

  1. It's *NOT* recommended that you modify this file directly.
  2. You should use the Macro Mania program to make
  3. any changes to your macros.                                                                                                                                                                             10 B54F558E64CEF71D062F9405ACE64F02438
  4. Simple Example Using Windows' Notepad                                                               face03.ico  XXXXXXXXXXXMINIMIZEREM Start Windows' NotepadRUN Notepad, MMTEST.TXTREM Turn on WordWrapSend %EwREM Maximize the WindowSEND % xREM Send a few sentences and pause.  Notice that as long as I do not press the ENTER key and just allow the word wrap to work, that the command continues to the next line.SEND Macro Mania makes it really easy to create macros!  While this one is fairly simple, you can send any keystroke that you would need to send to any Windows program with Macro Mania!{ENTER 2}SEND Notice that you can control your macros using the PAUSE command.  It allows you to temporarily stop a macro so that you can type, read, or whatever; then you can either resume immediately or choose to cancel the macro entirely by clicking on the appropriate button.{ENTER 2}SEND If you're finished reading, just click the "Resume" button on the "MACRO PAUSE" window at the bottom right of your screen now to exit this session of Notepad, or wait and it will count down and resume automatically.  The "Cancel" button will cause the macro to stop {(}in this case it will not exit the Notepad as instructed to do next{)}.PAUSE 45 SHOWREM Make sure we put focus back to where it needs to be.Activate MMTEST.TXT - NotepadREM THE PAUSE BELOW SEEMS TO BE NEEDED FOR SOME SYSTEMS TO GIVE THE PC A CHANCE TO CATCH UP, YOU MAY NEED TO USE THIS STRATEGY ON OCCASSION.  REMEMBER, MACRO MANIA TYPES FASTER THAN YOU EVER COULD, SO AN OCCASIONAL PAUSE MAY BE NECESSARYPause 1REM Exit the Notepad without savingSEND %FxnREM Return to Macro ManiaRESTORE
  5. DOS Prompt                                                                                          misc41.ico  XXXXXXXXXXXMSG_OK Notice that you can display helpful, instructional messages along with your macros.  This message is intended to let you know that this macro will take you to the DOS prompt.  To return to Windows just type EXIT.REM Notice that you can run PIFs too!!RUN DOSprmpt.pifMSG_OK As you can see, Macro Mania is a very handy program launcher too!
  6. Example of an interactive macro                                                                     misc15.ico  XXXXXXXXXXXMSG_OKCANCEL You can control whether or not you wish to have a macro resume executing after displaying a message box like this one.  Select OK now and this macro will display another message box.  Select CANCEL and the macro will stop executing entirely.MSG_OK These examples really just touch the surface of all you can do with Macro Mania.  I wish I could have included more powerful examples, but not knowing what programs you run on your system I didn't want to overdo it and jinx making my point of how easy and powerful this all can be.  Once you master the few simple commands, you'll find yourself creating macros for both chores you perform every day as well as quick, temporary macros that still save you a lot of repetitive typing.
  7. An America Online "Flash Session"                                                                   aol.ico     XXXXXXXXXXXMsg_OK As you might guess, you'll need to have a copy of Americal Online for Windows to use this example.  It will bring up a copy of that program and activate a Flash Session automatically for you.  If you don't have the program, an error will occur and it just won't work, no big deal.MINIMIZEREM Run America Online SoftwareCD c:\aol30RUN c:\aol30\waol.exeREM Make sure the Windows is maximizedSEND %{ }xREM Send keystrokes to start a "flash session" on AOLSEND %M{down 7}{enter 2}
  8. Send/Receive WINCIM E-mail                                                                          cim1.ico    XXXXXXXXXXXMsg_OK As you might guess, you'll need to have a copy of WINCIM to use this example.  It will bring up a copy of that program and activate the Send/Receive Mail command automatically for you.  If you don't have the program, an error will occur and it just won't work, no big deal.MINIMIZEREM Start CompuServe's WINCIM programCD c:\cserve\wincimRUN c:\cserve\wincim\wincim.exeREM Send keystrokes to Send/Receive E-mailSEND %Mr{enter}
  9. Scheduling macros...                                                                                clock01.ico XXXXXXXXXXXMSG_OK By using the Scheduling feature, you can even set yourself quick "reminders" throughout the day.  This macro does not actually use the schedule feature since I have no idea when you'll run this program, but you can easily modify this macro to do so via the "Add/Edit Macros" window.BEEPPAUSE 1BEEPPAUSE 1BEEPMSG_OK Time to take out the trash--does anyone you know need this reminder?? <grin>MSG_OK Of course you can also schedule certain macros to run at a time or interval you specify.  Perhaps you have a backup program you want to run at 1:00 am (and you would prefer not to have to attend such an activity), or you wish to Send/Receive Email every hour (to name just a few examples).
  10. Wordpad example - Windows 95                                                                        icon.ico    XXXXXXXXXXXMSG_OK Let's create a simple letter head fast and easy with WordPad . . .Run WordPad.exeREM Make the fonts BOLDSend %Of{tab}BOLD{enter}REM Make the font size largerSend %Of{tab 2}14{enter}REM Center the letter headSend %Op%Ac{enter}Send ABC and XYZ Technologies{enter}Send %Of{tab 2}12{enter}Send 123 West Main St.{enter}Send Manhattan, KS  66502{enter}Send {_ 72}Send {enter}REM Right justify the dateSend %Op%Ar{enter}REM Make the font smaller and regular (not bold or italic)Send %Of{tab}Regular{tab}12{enter}Send %I{enter 3}Send %Op%Al{enter}Send Dear Mr President:{enter 2}
  11. Demonstration of getting Dynamic Input                                                              burger.ico  XXXXXXXXXXXGetInput Enter the text file to open with Notepad.  Include the full path if necessary (e.g. c:\autoexec.bat).Run notepad.exeSend %FoSendInputSend {enter}
  12. An example of playing a WAV file.                                                                   sound.ico   XXXXXXXXXXXPLAYWAV c:\macrom\applaus.wavMSG_OK In addition to all the other cool features, Macro Mania can play WAV files to give your macros added "pizzaz"!!!
  13.